﻿namespace Configuration.ServerApi.Param
{
    /// <summary>
    /// 搜索条件Model
    /// </summary>
    public class SearchModel
    {
        /// <summary>
        /// 页码
        /// </summary>
        public int? Page { get; set; } = 0;

        /// <summary>
        /// 总行数
        /// </summary>
        public int? Limit { get; set; } = 10;

        /// <summary>
        /// 通用查询条件
        /// </summary>
        public string Wheres { get; set; }

        /// <summary>
        /// 内容
        /// </summary>
        public string Content { get; set; }

        /// <summary>
        /// 主键ID
        /// </summary>
        public string Id { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 编号
        /// </summary>
        public string Number { get; set; }

        /// <summary>
        /// 手机号
        /// </summary>
        public string Phone { get; set; }

        /// <summary>
        /// 姓别
        /// </summary>
        public string Sex { get; set; }

        /// <summary>
        /// 角色ID
        /// </summary>
        public string RoleId { get; set; }

        /// <summary>
        /// 角色名称
        /// </summary>
        public string RoleName { get; set; }

        /// <summary>
        /// 类型
        /// </summary>
        public string Type { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public string Status { get; set; }

        /// <summary>
        /// 标题
        /// </summary>
        public string Title { get; set; }

        /// <summary>
        /// 所属组织编号
        /// </summary>
        public string OrgGuid { get; set; }

        /// <summary>
        /// 所属组织名称
        /// </summary>
        public string OrgName { get; set; }

        /// <summary>
        /// 开始时间
        /// </summary>
        public string StartTime { get; set; }

        /// <summary>
        /// 结束时间
        /// </summary>
        public string EndTime { get; set; }

        /// <summary>
        /// 元素
        /// </summary>
        public string elements { get; set; }

        /// <summary>
        /// 化学式
        /// </summary>
        public string chemsys { get; set; }

        /// <summary>
        /// 关联实验模板ID
        /// </summary>
        public string ExpTemplateId { get; set; }

        /// <summary>
        /// 是否按创建时间升序排序
        /// 0: 否  1: 是
        /// </summary>
        public string IsCreateTimeAsc { get; set; } = "0";

        /// <summary>
        /// 语音内容
        /// </summary>
        public string Speech { get; set; }

        /// <summary>
        /// 语音内容文件
        /// </summary>
        public byte[] SpeechFile { get; set; }

        /// <summary>
        /// 长度
        /// </summary>
        public int Length { get; set; } = 0;

        /// <summary>
        /// 关联实验ID
        /// </summary>
        public string ExpId { get; set; }

        /// <summary>
        /// 分类名称 (中文)
        /// </summary>
        public string CnName { get; set; }

        /// <summary>
        /// 分类名称 (英文)
        /// </summary>
        public string EnName { get; set; }

        /// <summary>
        /// 所属分类ID
        /// </summary>
        public string ClassifyId { get; set; }

        /// <summary>
        /// 所属分类名称
        /// </summary>
        public string ClassifyName { get; set; }

        /// <summary>
        /// 所属组件ID
        /// </summary>
        public string AssemblyConfigId { get; set; }

        /// <summary>
        /// 所属组件名称
        /// </summary>
        public string AssemblyConfigName { get; set; }

    }
}
